package com.study;

import com.spring.ApplicationContext;
import com.study.service.LogisticsService;
import com.study.service.MemberService;
import com.study.service.TmsService;
import com.study.service.UserService;

public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ApplicationContext(AppConfig.class);

//        System.out.println(applicationContext.getBean("userService"));
//        System.out.println(applicationContext.getBean("userService"));
//        System.out.println(applicationContext.getBean("userService"));
//        System.out.println(applicationContext.getBean("userService"));
//        UserService userService = (UserService)applicationContext.getBean("userService");
//        userService.test();

//        MemberService memberService = (MemberService)applicationContext.getBean("memberService");
//        memberService.test();
//
//        LogisticsService logisticsService = (LogisticsService)applicationContext.getBean("logisticsService");

        TmsService tmsService = (TmsService)applicationContext.getBean("tmsService");
        tmsService.test();
    }
}
